{__NOLAYOUT__}
<layout name="layoutPC" />
<div class="container-fluid" ng-controller="loginController">
    <div class="row">
        <div class="col-sm-8 col-sm-offset-2 text-center" >
            <h1 class="main-title">
                登陆活控
            </h1>
            <form id="login-form" name="loginForm" class="form-horizontal" role="form" novalidate>
                <div class="form-group">
                    <label  class="col-sm-3 col-sm-offset-1 left-grey-lable">
                        <span class="glyphicon glyphicon-phone" aria-hidden="true"></span>&nbsp;手机
                    </label>
                    <div class="col-sm-6" ng-class="{'has-error has-feedback': loginForm.phone.$invalid && loginForm.phone.$dirty}">
                        <input type="tel" name="phone" class="form-control big-input" ng-model="username"  placeholder="手机号将作为登陆账号" required>
                        <span ng-show="loginForm.phone.$invalid && loginForm.phone.$dirty" class="glyphicon glyphicon   -warning-sign form-control-feedback" style="top:7px" aria-hidden="true"></span>
                        <div class="warning text-left" ng-show="loginForm.phone.$invalid && loginForm.phone.$dirty">
                            <span ng-show="loginForm.phone.$error.required">
                                请输入手机号
                            </span>
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <label  class="col-sm-3 col-sm-offset-1 left-grey-lable">
                        <span class="glyphicon glyphicon-lock" aria-hidden="true"></span>&nbsp;密码
                    </label>
                    <div class="col-sm-6" ng-class="{'has-error has-feedback': loginForm.psw.$invalid && loginForm.psw.$dirty}">
                        <input type="password" name="psw" class="form-control big-input" ng-model="password" placeholder="6-18位密码" required>
                        <!--<span ng-show="loginForm.psw.$valid" class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span>-->
                        <span ng-show="loginForm.psw.$invalid && loginForm.psw.$dirty" class="glyphicon glyphicon-warning-sign form-control-feedback" style="top:7px" aria-hidden="true"></span>
                        <div class="warning text-left"
                             ng-show="loginForm.psw.$invalid && loginForm.psw.$dirty">
                            <span
                                    ng-show="loginForm.psw.$error.required">
                                请输入密码
                            </span>
                        </div>
                        <div class="error text-left" ng-show="loginForm.$error.validate">
                            <span
                                    ng-show="loginForm.$error.validate">
                                账号或密码错误
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-6 col-sm-offset-4 text-left ftsz-22">
                        <a href="<{:U('Login/resetPasswdPC')}>" class="blue-link">&nbsp;&nbsp;&nbsp;忘记密码?</a>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-4" style="padding: 0 30px">
                        <button class="btn-blue-line btn-lg btn-block" type="submit" ng-click="submit()">登陆</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>